﻿using A.M.ETO;
using A.M.Storage.I_Application;
using AutoMapper;
using DotNetCore.CAP;
using Q.M.Finance.Domain.DTO;
using Q.M.Finance.Domain.Entity;
using Q.M.Finance.Infrastruecure.Repository;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;

namespace Q.M.Finance.Application.IServices
{
    public interface ITo_ticket_managementServices : IBaseServices<to_ticket_management, string>
    {
        /// <summary>
        /// 添加到票管理
        /// </summary>
        /// <param name="to_Ticket_ManagementAddDTO"></param>
        /// <returns></returns>
        Task<ApiReturn<string>> GetTo_ticket_managementAddInfo(to_ticket_managementAddDTO to_Ticket_ManagementAddDTO);

        /// <summary>
        /// 修改到票管理
        /// </summary>
        /// <param name="to_Ticket_ManagementShowDTO"></param>
        /// <returns></returns>
        Task<ApiReturn<string>> Getbilling_managementUpdateInfo(to_ticket_managementShowDTO to_Ticket_ManagementShowDTO);

        /// <summary>
        /// 反填到票管理
        /// </summary>
        /// <param name="to_ticket_managementid"></param>
        /// <returns></returns>
        Task<to_ticket_management> Findto_ticket_managementInfo(string? to_ticket_managementid);

        /// <summary>
        /// 删除到票管理
        /// </summary>
        /// <param name="to_ticket_managementid"></param>
        /// <returns></returns>
        Task<ApiReturn<string>> Deleteto_ticket_management(string? to_ticket_managementid);

        /// <summary>
        /// 到票显示+分页+查询
        /// </summary>
        /// <param name="pageIndex"></param>
        /// <param name="pageSize"></param>
        /// <returns></returns>
        PageETO<to_ticket_managementShowDTO> Getbilling_managementInfo(string? to_ticket_managementid, int pageIndex, int pageSize);
       
    }
}
